<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"/>
    <meta name="format-detection" content="telephone=no" />
    <link href="/css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<h1>登录游戏</h1>
<font color="#8b0000">${msg?default('')}</font>
<form action="/login.do" method="post">
    账号：<input type="text" class="form-text" name="username"><br>
    密码：<input type="password" class="form-text" name="password"><br>
    <input type="submit" value="登录游戏" class="btn btn-default">
</form>
<br><br>
<a href="/register.html">没有账号？去注册</a>
<style>
    .form-text{
        display: inline;
        width: 100%;
        height: 34px;
        padding: 3px 12px;
        font-size: 24px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .form-text:focus{
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    }
    .btn{
        padding:8px;
        cursor:pointer;
        font-size:14px;
        border:1px solid transparent;
        border-radius:4px;
        margin: 10px;
    }


    .btn-default{
        background-color:#fff;
        border-color:#aaa;
    }
    .btn-default:hover{
        background-color:#e5e5e5;
    }
    .btn-default:active{
        background-color:#ccc;
    }
</style>
</body>
</html>